<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:h="http://java.sun.com/jsf/html">

    <!-- INTERFACE -->
    <cc:interface>
        <cc:attribute name="good"></cc:attribute>
    </cc:interface>

    <!-- IMPLEMENTATION -->
    <cc:implementation>
        <h:panelGrid columns="2">
            Name:
            <h:outputText value="#{cc.attrs.good.name}"/>
            Price:
            <h:outputText value="#{cc.attrs.good.price}"/>
            Count:
            <h:outputText value="#{cc.attrs.good.count}"/>
        </h:panelGrid>
        <h:panelGrid columns="1">
            Description:
            <h:outputText value="#{cc.attrs.good.description}"/>
        </h:panelGrid>
    </cc:implementation>
</html>